package com.chengqs.rainbow.group.dao;

import com.chengqs.rainbow.common.core.domain.BasePage;
import com.chengqs.rainbow.common.persistent.dao.BaseDAO;
import com.chengqs.rainbow.group.domain.GroupMemberDO;
import com.chengqs.rainbow.group.domain.GroupMemberQuery;

import java.util.List;

/**
 * <B>主类名称：</B>GroupMemberDAO<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-16 22:33:36
 **/
public interface GroupMemberDAO extends BaseDAO<GroupMemberDO> {

    BasePage<GroupMemberDO> listByPage(GroupMemberQuery query);

    long count(Long groupId, Long memberId);

    List<Long> getByGroupId(Long groupId);

    BasePage<Long> listGroupMemberByPage(GroupMemberQuery query, Long memberId);

    long count(Long groupId);
}
